/*
 * LogsGestionSource.java
 *
 * Created on 12 de diciembre de 2006, 05:17 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.src.computec.logsgestion.carguegestion.source;

import java.util.ResourceBundle;

/**
 *
 * @author jlperea
 */
public class LogsGestionSource 
{
    protected static LogsGestionSource logsGestionSource;
    
    private static ResourceBundle logsGestionSetup;
    private static ResourceBundle logsGestionErrorSetup;    
    
    /** Creates a new instance of PathImage */
    protected LogsGestionSource() {        
        logsGestionSetup = ResourceBundle.getBundle("LogsGestionSetup");
        logsGestionErrorSetup = ResourceBundle.getBundle("LogsGestionErrorSetup");        
    }

    public static LogsGestionSource getInstance() {
        if (logsGestionSource == null) {
            logsGestionSource = new LogsGestionSource();
        }
        return logsGestionSource;
    }

    public String getLogsGestionSetupKey(String key) {
        return logsGestionSetup.getString(key); 
    }
   
    public String getLogsGestionErrorSetupKey(String key) {
        return logsGestionErrorSetup.getString(key); 
    }    
}
